- data
- Array of bytes that holds the data to be compressed.
- dataIndex
- Index into data where the data starts.
Visual Basic (Declaration) | |
---|---|
Overloads Public Sub Compress( _ ByVal data() As Byte, _ ByVal dataIndex As Integer _ ) |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As RasterCodecs Dim data() As Byte Dim dataIndex As Integer instance.Compress(data, dataIndex) |
C++/CLI | |
---|---|
public: void Compress( array<byte>^ data, int dataIndex ) |
Parameters
- data
- Array of bytes that holds the data to be compressed.
- dataIndex
- Index into data where the data starts.
For an example, refer to StartCompress(Int32,Int32,Int32,RasterByteOrder,RasterViewPerspective,Int32,Byte[],Int32,Int32,CodecsCompression,CodecsCompressDataCallback).
You must call StartCompress(Int32,Int32,Int32,RasterByteOrder,RasterViewPerspective,Int32,Byte[],Int32,Int32,CodecsCompression,CodecsCompressDataCallback) before using this method, and you must call StopCompress to end the compression process. For a description of how these methods work together, refer to StartCompress(Int32,Int32,Int32,RasterByteOrder,RasterViewPerspective,Int32,Byte[],Int32,Int32,CodecsCompression,CodecsCompressDataCallback).
Target Platforms: Silverlight, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)